package com.demo.shiroDemo10.service;

import java.util.Set;

import com.demo.shiroDemos.model.Operator;

public interface ShiroService {
	Operator getOperatorByUsername(String username);

	Set<String> getRolesByUserName(String username);

	Set<String> getPermsByUserNameAndRoles(String username, Set<String> roleNames);
}
